package com.lcf.system.vo;

import com.lcf.framework.annotation.DictFile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 订单商品(OrderGoods)表实体类
 *
 * @author lcf
 * @since 2025-04-24 21:14:32
 */
@Data
@NoArgsConstructor
public class OrderGoodsVO {
    //id
    @Schema(description = "id")
    private Long id;
    //订单编号
    @Schema(description = "订单编号")
    private String orderNo;
    //订单id
    @Schema(description = "订单id")
    private Long orderId;
    //商品id
    @Schema(description = "商品id")
    private Long goodsId;
    //商品数量
    @Schema(description = "商品数量")
    private Integer goodsNum;
    //商品单价
    @Schema(description = "商品单价")
    private BigDecimal goodsPrice;

    //商品名称
    @Schema(description = "商品名称")
    private String goodsName;
    //商品图片
    @DictFile
    @Schema(description = "商品图片")
    private String goodsImg;
}

